import request from '@/utils/request'


// 列表
export function getClumn(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.clumn/getClumn', params })
}


// 详情
export function detailClumn(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.clumn/detailClumn', params })
}

// 设置
export function setClumn(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.clumn/setClumn', params })
}

// 删除
export function delClumn(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.clumn/delClumn', params })
}

// 全部栏目
export function wholeClume(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.clumn/wholeClume', params })
}

// 全部模版
export function clumnPlate(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.clumn/clumnPlate', params })
}

// 开启关闭
export function setOpen(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.clumn/setOpen', params })
}

// 上传图片
export function upload(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.clumn/upload', params })
}
